import * as React from "react"
import Layout from "../layout"

export interface HomeProps {}

export interface HomeState {}

export interface HomeProps {
  history?: any
}

export interface HomeState {}

export class Home extends React.Component<HomeProps, HomeState> {
  // state = { :  }
  render() {
    let { history } = this.props
    return (
      <Layout layoutConfig={{hasHeader:true,hasTabBar:true}}>
        <div>
        <h1>首页</h1>
        <div>
          这里首页
          <div onClick={() => history.push("/recharge")}>跳转充值</div>
        </div>
      </div>
      </Layout>
    )
  }
}


